﻿// ===============================================================================
// XCI.NET 西安交通信息WinForm开发框架 2018 版权所有
// ===============================================================================
using XCI.Core;

namespace XCI.Logger
{
    /// <summary>
    /// 日志级别
    /// <para>
    /// 输出顺序 Debug -> Message -> Warn -> Error -> None
    /// </para>
    /// </summary>
    public enum LoggerLevel
    {
        /// <summary>
        /// 调试
        /// </summary>
        [EnumCaption("调试")]
        Debug = 1,

        /// <summary>
        /// 消息
        /// </summary>
        [EnumCaption("消息")]
        Info = 2,

        /// <summary>
        /// 警告
        /// </summary>
        [EnumCaption("警告")]
        Warn = 3,

        /// <summary>
        /// 错误
        /// </summary>
        [EnumCaption("错误")]
        Error = 4,

        /// <summary>
        /// 不输出
        /// </summary>
        [EnumCaption("不输出")]
        None = 5
    }
}